package lab02.test12;

public class Test12 {
    public static void main(String[] args) {
        Rectangle rectangle = new Rectangle();
        rectangle.length = 8;
        rectangle.hight = 3;
        System.out.println(rectangle.getArea());
        System.out.println(rectangle.getPerimeter());

        Circle circle = new Circle();
        circle.radius = 1.5;
        System.out.println(circle.getArea());
        System.out.println(circle.getPerimeter());
    }
}
